﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace DataTier.Entities
{
    /// <summary>
    /// Объект, возвращающий полную информацию о Заказе
    /// </summary>
    [Serializable]
    public class OrderFullInfoEntity
    {
        #region Свойства, относящиеся к сущности Заказ

        
        
        public bool IsModifiedByAdmin
        {
            get { return isModifiedByAdmin; }
            set { isModifiedByAdmin = value; }
        }
        private bool isModifiedByAdmin;


        
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private int id;


        
        public string Number
        {
            get { return number; }
            set { number = value; }
        }
        private string number;


        
        public int? CreatedUserId
        {
            get { return createdUserId; }
            set { createdUserId = value; }
        }
        private int? createdUserId;


        
        public string CreatedUserName
        {
            get { return createdUserName; }
            set { createdUserName = value; }
        }
        private string createdUserName;


        
        public DateTime? CreatedDate
        {
            get { return createdDate; }
            set { createdDate = value; }
        }
        private DateTime? createdDate;


        
        public int? CreatedCostCenterId
        {
            get { return createdCostCenterId; }
            set { createdCostCenterId = value; }
        }
        private int? createdCostCenterId;


        
        public string CreatedCostCenterName
        {
            get { return createdCostCenterName; }
            set { createdCostCenterName = value; }
        }
        private string createdCostCenterName;


        
        public int? CreatedDepartmentId
        {
            get { return createdDepartmentId; }
            set { createdDepartmentId = value; }
        }
        private int? createdDepartmentId;


        
        public string CreatedDepartmentName
        {
            get { return createdDepartmentName; }
            set { createdDepartmentName = value; }
        }
        private string createdDepartmentName;

        
        
        public string CreatedDepartmentOfficeNumber
        {
            get { return createdDepartmentOfficeNumber; }
            set { createdDepartmentOfficeNumber = value; }
        }
        private string createdDepartmentOfficeNumber;


        
        public int? CreatedJuridicalPersonId
        {
            get { return createdJuridicalPersonId; }
            set { createdJuridicalPersonId = value; }
        }
        private int? createdJuridicalPersonId;


        
        public string CreatedJuridicalPersonName
        {
            get { return createdJuridicalPersonName; }
            set { createdJuridicalPersonName = value; }
        }
        private string createdJuridicalPersonName;


        
        public int? CreatedCompanyId
        {
            get { return createdCompanyId; }
            set { createdCompanyId = value; }
        }
        private int? createdCompanyId;


        
        public string CreatedCompanyName
        {
            get { return createdCompanyName; }
            set { createdCompanyName = value; }
        }
        private string createdCompanyName;

        
        public string CreatedCompanyAddress
        {
            get { return createdCompanyAddress; }
            set { createdCompanyAddress = value; }
        }
        private string createdCompanyAddress;

        
        public int? ModifiedUserId
        {
            get { return modifiedUserId; }
            set { modifiedUserId = value; }
        }
        private int? modifiedUserId;


        
        public string ModifiedUserName
        {
            get { return modifiedUserName; }
            set { modifiedUserName = value; }
        }
        private string modifiedUserName;


        
        public DateTime? ModifiedDate
        {
            get { return modifiedDate; }
            set { modifiedDate = value; }
        }
        private DateTime? modifiedDate;


        
        public Double? ItogoSumm
        {
            get { return itogoSumm; }
            set { itogoSumm = value; }
        }
        private Double? itogoSumm;


        
        public int? StateId
        {
            get { return stateId; }
            set { stateId = value; }
        }
        private int? stateId;


        
        public string StateName
        {
            get { return stateName; }
            set { stateName = value; }
        }
        private string stateName;


        
        public string StateColor
        {
            get { return stateColor; }
            set { stateColor = value; }
        }
        private string stateColor;


        
        public string StateDescription
        {
            get { return stateDescription; }
            set { stateDescription = value; }
        }
        private string stateDescription;


        
        public bool ExistsIsUnavailable
        {
            get { return existsIsUnavailable; }
            set { existsIsUnavailable = value; }
        }
        private bool existsIsUnavailable;

        #endregion Свойства, относящиеся к сущности Заказ


        #region Свойства, относящиеся к сущности Счет

        
        public string AccountNumber
        {
            get { return accountNumber; }
            set { accountNumber = value; }
        }
        private string accountNumber;


        
        public int? AccountCreatedUserId
        {
            get { return accountCreatedUserId; }
            set { accountCreatedUserId = value; }
        }
        private int? accountCreatedUserId;


        
        public string AccountCreatedUserName
        {
            get { return accountCreatedUserName; }
            set { accountCreatedUserName = value; }
        }
        private string accountCreatedUserName;


        
        public DateTime? AccountCreatedDate
        {
            get { return accountCreatedDate; }
            set { accountCreatedDate = value; }
        }
        private DateTime? accountCreatedDate;


        
        public string AccountStateName
        {
            get { return accountStateName; }
            set { accountStateName = value; }
        }
        private string accountStateName;

        #endregion Свойства, относящиеся к сущности Счет

    }




}
